from flask import Blueprint
from app.api.v1 import user, book, client, token, gift


def create_blueprint():
    bp = Blueprint('v1', __name__)
    user.api.register(bp)
    book.api.register(bp)
    client.api.register(bp)
    token.api.register(bp)
    gift.api.register(bp)
    return bp
